package appapi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import lombok.Data;

 /**
 * @version: java version 1.8
 * @Author: Ygp Work
 * @description:
 * @date: 2024-03-18 17:37
 */

@ApiModel(value="appapi-entity-DeviceDataEntity")
@Data
@TableName(value = "device_data")
public class DeviceDataEntity {
    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value="")
    private Long id;

    @TableField(value = "device_name")
    @ApiModelProperty(value="")
    private String deviceName;

    @TableField(value = "create_time")
    @ApiModelProperty(value="")
    private LocalDateTime createTime;

    public static final String COL_ID = "id";

    public static final String COL_DEVICE_NAME = "device_name";

    public static final String COL_CREATE_TIME = "create_time";
}